/**
 * Created by Henry on 15/6/13.
 */
Ext.define('Admin.view.main.region.Footer', {
    extend: 'Ext.Toolbar',
    xtype: 'appfooter',
    id: 'app-footer',

    requires: ['Ext.ux.Transparent'],

    defaultType: 'btntransparent',

    items: [{
        xtype: 'label',
        bind: {
            text: '{status}'
        }
    }, '->', {
        glyph: 0xf007,
        bind: {
            text: '{administrator.name}'
        }
    }, {
        glyph: 0xf0e0,
        bind: {
            text: '{administrator.email}'
        }
    }, {
        glyph: 0xf090,
        bind: {
            text: '{administrator.sign_in_count}'
        }
    }, {
        glyph: 0xf017,
        bind: {
            text: '{administrator.current_sign_in_at}'
        }
    }, {
        glyph: 0xf041,
        bind: {
            text: '{administrator.current_sign_in_ip}'
        }
    }]
});